Page({
    data: {
        active: 0,
        List: [
            {
                state: '待发货',
                title: '商品标题',
                spellNum: 6,
                url: 'https://img01.yzcdn.cn/vant/ipad.jpeg',
                money: 168.00,
                retreatNum: 2,
                headSculptures: [
                    { url: 'https://img.yzcdn.cn/vant/cat.jpeg' },
                    { url: 'https://img.yzcdn.cn/vant/cat.jpeg' }
                ]
            },
            {
                state: '待发货',
                title: '商品标题',
                spellNum: 6,
                url: 'https://img01.yzcdn.cn/vant/ipad.jpeg',
                money: 168.00,
                retreatNum: 2,
                headSculptures: [
                    { url: 'https://img.yzcdn.cn/vant/cat.jpeg' },
                    { url: 'https://img.yzcdn.cn/vant/cat.jpeg' }
                ]
            }
        ]
    },

    onChange(event: any): void {
        console.log(event, 123);
        wx.showToast({
            title: `切换到标签 ${event.detail.title}`,
            icon: 'none',
        });
    },
});